<template>
    <page-header-wrapper>
      <a-card>
        <a-tabs v-model="active">
          <a-tab-pane key="0" tab="联盟券设置"></a-tab-pane>
          <!-- <a-tab-pane key="1" tab="联盟分销"></a-tab-pane>
          <a-tab-pane key="2" tab="店铺推荐人"></a-tab-pane>
          <a-tab-pane key="3" tab="消费返利"></a-tab-pane>
          <a-tab-pane key="4" tab="店铺抽成"></a-tab-pane> -->
        </a-tabs>
  
        <couponSetting v-if="active === '0'"></couponSetting>
        <!-- <unionSetting v-if="active === '1'"></unionSetting>
        <referrerSetting v-if="active === '2'"></referrerSetting>
        <rebateSetting v-if="active === '3'"></rebateSetting>
        <shopDraw v-if="active === '4'"></shopDraw> -->
      </a-card>
    </page-header-wrapper>
  </template>
  
  <script>
  import couponSetting from "./components/couponSetting"
//   import unionSetting from "./components/unionSetting"
//   import referrerSetting from "./components/referrerSetting"
//   import rebateSetting from "./components/rebateSetting"
//   import shopDraw from "./components/shopDraw"
  
  export default {
    components: {
        couponSetting,
    //   unionSetting,
    //   referrerSetting,
    //   rebateSetting,
    //   shopDraw
    },
  
    data() {
      return {
        active:"0"
      }
    },
  }
  </script>
  
  <style lang="less" scoped>
  </style>